package ch.zbw.pra.sysventory.model;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.List;

/**
 * Klasse welche Scanversion Objekte erstellt 
 * 
 * @author Ralph Koster & Roberto Lucas
 */

public class Scanversion implements Serializable {

	private static final long serialVersionUID = -6996307591367442251L;
	
	private int id;
	private long numberOfScanversion;
	private Timestamp scanStartTimestamp;
	private Timestamp scanEndeTimestamp;
	private List<Computer> computers;
	
	public Scanversion() {
		this.computers = new ArrayList<Computer>();
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public long getNumberOfScanversion() {
		return numberOfScanversion;
	}

	public void setNumberOfScanversion(long numberOfScanversion) {
		this.numberOfScanversion = numberOfScanversion;
	}

	public Timestamp getScanStartTimestamp() {
		return scanStartTimestamp;
	}

	public void setScanStartTimestamp(Timestamp scanStartTimestamp) {
		this.scanStartTimestamp = scanStartTimestamp;
	}

	public Timestamp getScanEndeTimestamp() {
		return scanEndeTimestamp;
	}

	public void setScanEndeTimestamp(Timestamp scanEndeTimestamp) {
		this.scanEndeTimestamp = scanEndeTimestamp;
	}

	public List<Computer> getComputers() {
		return computers;
	}

	public void setComputers(List<Computer> computers) {
		this.computers = computers;
	}
}
